<%@ include file="/WEB-INF/view/include.jsp"%>
<div id="MainDetails">	
	<div class="t_form-top">
		<div class="t_select_employee">
			<label for="evcEmployeeId" ><spring:message code="message.employee.id" /></label>
			<input type="text"  id="evcEmployeeId" disabled="disabled" name="evcEmployeeId" value="${evTerminationModel.evcEmployeeId}"	readonly="readonly" />
		</div>
	</div>
	<div class="t_form-left">
		<label for="empName"><spring:message code="ctn.employee.name" /></label>
		<input type="text" id="empName" name="empName" disabled="disabled" />
		
		<label for="empNationalityMap"><spring:message code="ctn.employee.nationality" /></label>
		<input type="text" id="empNationalityMap" name="empNationalityMap" disabled="disabled" />
		
		<label for="empCECNoMap"><spring:message code="ctn.employee.cec.no" /></label>
		<input type="text" id="empCECNoMap" name="empCECNoMap" disabled="disabled" />
	</div>
	
	<div class="t_form-right">
	
		<label for="empName"><spring:message code="ctn.employee.name.ar" /></label>
		<input type="text" id="empNameAr" name="empNameAr" disabled="disabled" />
		
		<label for="empPostNoMap"><spring:message code="ctn.employee.post.no" /></label>
		<input type="text" id="empPostNoMap" name="empPostNoMap" disabled="disabled" />
	</div>
	<fieldset>
	 	<legend><spring:message code="ctn.init.emp.leave" /></legend>
	</fieldset>
	<div class="t_form-left">
		<form:label path="evcCancelDate" ><spring:message code="ctn.visa.cancel.date" /></form:label>
        <form:input path="evcCancelDate" disabled="true" cssClass="t_form-fld-disable_calendar" style="*-float:left;"  />
        
        <form:label path="evcBannedFlag"><spring:message code="ctn.ban.flag" /></form:label>
        <form:checkbox onchange="banChange(this);" disabled="true" path="evcBannedFlag" cssStyle="width:44px; margin:5px; height:16px;"/>
	
		<form:label path="evcLeavingReason" ><spring:message code="ctn.leave.reason" /></form:label>
        <c:choose>
			<c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
				<form:select path="evcLeavingReason" disabled="true" items="${leavingReasons}" itemLabel="labelAr" itemValue="id" />
			</c:when>
			<c:otherwise>
				<form:select path="evcLeavingReason" disabled="true" items="${leavingReasons}" itemLabel="labelEn" itemValue="id" />
			</c:otherwise>
		</c:choose>
	</div>
	<div class="t_form-right">
		<form:label path="evcExitDate"  ><spring:message code="ctn.visa.exit.date" /></form:label>
        <form:input path="evcExitDate" disabled="true" cssClass="t_form-fld-disable_calendar" style="*-float:left;"  />
		
		<form:label path="evcBanPeriod" ><spring:message code="ctn.ban.perion" /></form:label>
		<form:select path="evcBanPeriod" disabled="true" items="${monthsNumbers}" itemLabel="labelEn" itemValue="id" />
		
		<form:label path="evcCancelform" ><spring:message code="ctn.rp.can.meth" /></form:label>
		<form:select path="evcCancelform" disabled="true" id="evcCancelform" style="width:150px;">
			<form:option value=""></form:option>
			<form:option value="Online"><spring:message code="ctn.online" /></form:option>
			<form:option value="Offline"><spring:message code="ctn.offline" /></form:option>
		</form:select>
	</div>
	
	<div id="fm-submit">
		<button  class="button_small" id="Main-Next"  ><spring:message code="button.next" /></button>
	</div>
</div>